const mongoose = require('mongoose');
let addressSchema = new mongoose.Schema({
    receiver:String,
    location: String,
    details:String,
    phoneNumber:String,
    isDefault: {
        type: Boolean,
        default: false
    },
    uid: String
});
let Addr = mongoose.model('addr', addressSchema);
module.exports = Addr;